package sd.zhr.moodcapsule.pojo;

import java.util.Date;

public class MoodCapsule {
    private Integer id;

    private Integer userId;

    private Date createTime;

    private Date unlockTime;

    private String status;

    private Boolean anonymous;

    private Integer likes;

    private Integer tagId;

    private String content;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUnlockTime() {
        return unlockTime;
    }

    public void setUnlockTime(Date unlockTime) {
        this.unlockTime = unlockTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Boolean getAnonymous() {
        return anonymous;
    }

    public void setAnonymous(Boolean anonymous) {
        this.anonymous = anonymous;
    }

    public Integer getLikes() {
        return likes;
    }

    public void setLikes(Integer likes) {
        this.likes = likes;
    }

    public Integer getTagId() {
        return tagId;
    }

    public void setTagId(Integer tagId) {
        this.tagId = tagId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    @Override
    public String toString() {
        return "MoodCapsule{" +
                "id=" + id +
                ", userId=" + userId +
                ", createTime=" + createTime +
                ", unlockTime=" + unlockTime +
                ", status='" + status + '\'' +
                ", anonymous=" + anonymous +
                ", likes=" + likes +
                ", tagId=" + tagId +
                ", content='" + content + '\'' +
                '}';
    }
}